<template>
  <el-footer class="footer">
    <div class="container">
      <div class="footer-content">
        <div class="footer-section">
          <h3>KBB服务器</h3>
          <p>一个充满活力的Minecraft社区</p>
          <p>服务器IP: mc.kbblet.cn:25565</p>
        </div>
        
        <div class="footer-section">
          <h4>快速链接</h4>
          <ul>
            <li><router-link to="/">首页</router-link></li>
            <li><router-link to="/announcements">公告</router-link></li>
            <li><router-link to="/commands">指令</router-link></li>
            <li><router-link to="/donation">捐赠</router-link></li>
          </ul>
        </div>
        
        <div class="footer-section">
          <h4>社区</h4>
          <ul>
            <li><a href="https://qm.qq.com/q/nLG9o7UMwg" target="_blank">QQ群</a></li>
            <li><a href="https://docs.qq.com/aio/DZWJLeWxnQU9KVXNt" target="_blank">教程文档</a></li>
            <li><a href="https://www.123865.com/s/anDgTd-ZyiUH" target="_blank">资源下载</a></li>
            <li><a href="https://oopz.cn/i/A8eMHK" target="_blank">语音频道</a></li>
          </ul>
        </div>
        
        <div class="footer-section">
          <h4>服务器信息</h4>
          <p>版本: 1.21.4</p>
          <p>核心: LEAVES</p>
          <p>特色: 生电特性保留</p>
        </div>
      </div>
      
      <div class="footer-bottom">
        <p>&copy; 2024 KBB服务器. 保留所有权利.</p>
      </div>
    </div>
  </el-footer>
</template>

<script>
export default {
  name: 'Footer'
}
</script>

<style scoped>
.footer {
  background: #2c3e50;
  color: white;
  padding: 40px 0 20px;
  margin-top: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
  color: #4CAF50;
  margin-bottom: 15px;
}

.footer-section h3 {
  font-size: 1.5rem;
}

.footer-section h4 {
  font-size: 1.1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #4CAF50;
}

.footer-section p {
  color: #bdc3c7;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid #34495e;
  padding-top: 20px;
  text-align: center;
  color: #95a5a6;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .footer {
    padding: 30px 0 15px;
  }
}
</style> 